<template>
  <MessageItemTemplate
    :message="message"
    @set-as-read="$emit('set-as-read', $event)"
  >
    <span style="font-weight: 600; font-size: 10px;"
          class="demonstration">评分</span>
    <el-rate
        v-model="message.score"
        disabled
        show-score
        text-color="#ff9900"
    >
    </el-rate>
    <span style="font-weight: 600; font-size: 10px;"
          class="demonstration">评价</span>
    <div>{{ message.scoreContent }}</div>
    <br/>
  </MessageItemTemplate>
</template>

<script>
import MessageItemTemplate from "@/components/new/message-item/MessageItemTemplate";
export default {
  name: "ScoreMessageItem",
  components: {MessageItemTemplate},
  props: {
    message: {}
  }
}
</script>

<style scoped>

</style>
